home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / libexif / exif-mnote-data.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-06-13  |  1.9 KB  |  55 lines

  1. /* exif-mnote-data.h
  2.  *
  3.  * Copyright ⌐ 2003 Lutz Mⁿller <lutz@users.sourceforge.net>
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Lesser General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2 of the License, or (at your option) any later version.
  9.  *
  10.  * This library is distributed in the hope that it will be useful, 
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Lesser General Public License for more details. 
  14.  *
  15.  * You should have received a copy of the GNU Lesser General Public
  16.  * License along with this library; if not, write to the
  17.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  18.  * Boston, MA 02111-1307, USA.
  19.  */
  20.  
  21. #ifndef __EXIF_MNOTE_DATA_H__
  22. #define __EXIF_MNOTE_DATA_H__
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif /* __cplusplus */
  27.  
  28. #include <libexif/exif-log.h>
  29.  
  30. typedef struct _ExifMnoteData ExifMnoteData;
  31.  
  32. void exif_mnote_data_ref   (ExifMnoteData *);
  33. void exif_mnote_data_unref (ExifMnoteData *);
  34.  
  35. void exif_mnote_data_load (ExifMnoteData *, const unsigned char *,
  36.                unsigned int);
  37. void exif_mnote_data_save (ExifMnoteData *, unsigned char **, unsigned int *);
  38.  
  39. unsigned int exif_mnote_data_count           (ExifMnoteData *);
  40. unsigned int exif_mnote_data_get_id          (ExifMnoteData *, unsigned int);
  41. const char  *exif_mnote_data_get_name        (ExifMnoteData *, unsigned int);
  42. const char  *exif_mnote_data_get_title       (ExifMnoteData *, unsigned int);
  43. const char  *exif_mnote_data_get_description (ExifMnoteData *, unsigned int);
  44.  
  45. /* Returns NULL or val */
  46. char  *exif_mnote_data_get_value (ExifMnoteData *, unsigned int, char *val, unsigned int maxlen);
  47.  
  48. void exif_mnote_data_log (ExifMnoteData *, ExifLog *);
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif /* __cplusplus */
  53.  
  54. #endif /* __EXIF_MNOTE_DATA_H__ */
  55.